package com.penghaisoft.microwms.base.web;

import com.penghaisoft.microwms.common.service.MesProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * 基础数据启动类
 * Created by zxcq0 on 2018/4/16.
 */
@SpringBootApplication(scanBasePackages= {"com.penghaisoft.microwms"})
@MapperScan(basePackages = {"com.penghaisoft.microwms.base.web.*.dao"})
@EnableConfigurationProperties({MesProperties.class})
public class BaseWebApp {

    public static void main(String[] args) {
        SpringApplication.run(BaseWebApp.class, args);
    }
}
